<?php
/**
 * CreateTime: 2023/11/21 14:06
 * User:LinQ
 */

namespace App\Models\Auth;

use App\Models\BasicModel;

class UserRoleModel extends BasicModel
{
    protected $table = 'user_role';

    protected $primaryKey = 'user_role_id';

    protected $fillable = [
        'user_role_id' => 'integer',
        'user_id' => 'integer',
        'role_id' => 'integer',
        'created_at' => 'string',
        'updated_at' => 'string',
    ];

    protected $casts = [
        'user_role_id',
        'user_id',
        'role_id',
        'created_at',
        'updated_at',
    ];

    protected $hidden = [
        'created_at',
        'updated_at',
    ];
}